Page({
  data: {
    myValue:[
      {name:"python",value:'python',checked:true},
      {name:"C",value:'C',checked:false},
      {name:"C++",value:'C++',checked:true},
      {name:"JAVA",value:'JAVA',checked:true},
      {name:"go",value:'go',checked:false},
      {name:"C#",value:'C#',checked:false},
      {name:"javascript",value:'javascript',checked:false},
      {name:"前端",value:'前端',checked:false,disabled: true},
      
    ]
  },
  onLoad() {},
  onSubmit(e) {
    console.log('onSubmit', e);
    dd.alert({
      content: `你选择的语言是 ${e.detail.value.language.join('/ ')}`,
    });
  },
  onReset(e) {
    console.log('onReset', e);
    dd.showToast({
      content:`已重置`
    });
  },
  onChange(e) {
    console.log(e);
  },
  click(e){
    console.log('Button', e);
    dd.alert({
      content: `你选择的是`+ e.currentTarget.tagName,
    });
  }
});
